package com.ruoyi.wechat.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 营地预约管理对象 c_appointment
 * 
 * @author ruoyi
 * @date 2024-12-03
 */
public class CAppointment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预约表Id */
    private String appointId;

    /** 用户Id */
    @Excel(name = "用户Id")
    private String userId;

    /** 预约时间 */
    @Excel(name = "预约时间")
    private String appointTime;

    /** 营地Id */
    @Excel(name = "营地Id")
    private String campId;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    private List<CDetails> detailsList;

    public List<CDetails> getDetailsList() {
        return detailsList;
    }

    public void setDetailsList(List<CDetails> detailsList) {
        this.detailsList = detailsList;
    }

    public void setAppointId(String appointId)
    {
        this.appointId = appointId;
    }

    public String getAppointId() 
    {
        return appointId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setAppointTime(String appointTime) 
    {
        this.appointTime = appointTime;
    }

    public String getAppointTime() 
    {
        return appointTime;
    }
    public void setCampId(String campId) 
    {
        this.campId = campId;
    }

    public String getCampId() 
    {
        return campId;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("appointId", getAppointId())
            .append("userId", getUserId())
            .append("appointTime", getAppointTime())
            .append("campId", getCampId())
            .append("state", getState())
            .toString();
    }

    public void setAppointStatus(long l) {
    }
}
